<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>用户操作日志</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<!-- basic styles -->
		<link href="./Public/Admin/css/bootstrap.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="./Public/Admin/css/font-awesome.min.css" />

		<!-- fonts -->

		<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" />

		<!-- ace styles -->

		<link rel="stylesheet" href="./Public/Admin/css/ace.min.css" />
		<link rel="stylesheet" href="./Public/Admin/css/ace-rtl.min.css" />
		<link rel="stylesheet" href="./Public/Admin/css/ace-skins.min.css" />

		<link rel="stylesheet" href="./Frame/Vendor/layui/css/layui.css"  media="all">
		
		<script src="./Public/Admin/js/ace-extra.min.js"></script>
	</head>

	<body>
		
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="#">首页</a>
							</li>
							<li class="active">日志管理</li>
							<li class="active">用户日志</li>
						</ul><!-- .breadcrumb -->
					</div>

					<div class="page-content">
						<form class="form-inline" action="?c=UserLog&a=index" method="post">
							<!-- 时间选择框 -->
							<div class="layui-inline">
						      <label>日期范围</label>
						      <div class="layui-input-inline">
						        <input type="text" name="add_time" class="layui-input" id="date" placeholder=" - ">
						      </div>
						    </div>
							<button type="submit" class="btn">search</button>
						</form>
											<table id="sample-table-1" class="table table-striped table-bordered table-hover">
												<thead>
													<tr>
														<th>编号</th>
														<th>操作人</th>
														<th>操作时间</th>
														<th>行为</th>
														<th>ip</th>
													</tr>
												</thead>
												<tbody>
													<{foreach $data as $val}>
														<tr>
														<td><{$val.id}></td>
														<td><{$val.username}></td>
														<td><{$val.add_time}></td>
														<td><{$val.code}></td>
														<td><{$val.ip}></td>
														</tr>
													<{/foreach}>
														<tr>
															<td colspan="7"><{$pageStr}></td>
														</tr>
												</tbody>
											</table>
										</div><!-- /.table-responsive -->
									</div><!-- /span -->
								</div><!-- /row -->

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div>

		<script src="./Public/Admin/js/jquery-2.0.3.min.js"></script>

		<script type="text/javascript">
		window.jQuery || document.write("<script src='./Public/Admin/js/jquery-2.0.3.min.js'>"+"<"+"script>");
		</script>
		<script type="text/javascript">
			if("ontouchend" in document) document.write("<script src='./Public/Admin/js/jquery.mobile.custom.min.js'>"+"<"+"script>");
		</script>
		<script src="./Public/Admin/js/bootstrap.min.js"></script>
		<script src="./Public/Admin/js/typeahead-bs2.min.js"></script>
		<script src="./Public/Admin/js/jquery-ui-1.10.3.custom.min.js"></script>
		<script src="./Public/Admin/js/jquery.ui.touch-punch.min.js"></script>
		<script src="./Public/Admin/js/jquery.slimscroll.min.js"></script>
		<script src="./Public/Admin/js/jquery.sparkline.min.js"></script>
		<script src="./Public/Admin/js/flot/jquery.flot.min.js"></script>
		<script src="./Public/Admin/js/flot/jquery.flot.pie.min.js"></script>
		<script src="./Public/Admin/js/flot/jquery.flot.resize.min.js"></script>

		<!-- ace scripts -->

		<script src="./Public/Admin/js/ace-elements.min.js"></script>
		<script src="./Public/Admin/js/ace.min.js"></script>
		<script src="./Frame/Vendor/layui/layui.js" charset="utf-8"></script>
		<script>
		layui.use('laydate', function(){
			  var laydate = layui.laydate;
			//日期范围
			  laydate.render({
			    elem: '#date'
			    ,range: true
			  });
		});
		</script>
</body>
</html>

